package com.baizhi.service.impl;

import com.baizhi.dao.CmfzLessonDao;
import com.baizhi.entity.CmfzLesson;
import com.baizhi.service.CmfzLessonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Author: renpu
 * @Date: 2019/3/7 16:49
 * @Description:
 */
@Service
@Transactional
public class CmfzLessonServiceImpl implements CmfzLessonService {

    @Autowired
    private CmfzLessonDao lessonDao;
    @Override
    public List<CmfzLesson> selectAllLesson() {
        return lessonDao.selectAllLesson();
    }
}
